package net.zjitc.dao;

import net.zjitc.domain.user;

import java.sql.SQLException;

/**
 * @Author admin
 * @Date 2019/3/4 10:05
 */
public interface UserDao {
    user login(String username, String password) ;

    user register(String username);

    void register_add(String username, String password) throws SQLException;

    user findByID(int uid) throws SQLException;

    void center_edit(user user, String uid) throws SQLException;
}
